src=test.cpp
bin=mylog.out

$(bin):$(src)
	g++ $< -o $@ -std=c++11

.PHONY:clean run
clean:
	@rm -f $(bin)
run:
	@./$(bin)